package com.ebupt.migu.music.system.service;

import com.ebupt.migu.music.system.entity.AuthUser;
import com.ebupt.migu.music.system.mapper.AuthOrganizationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service

public class AuthOrganizationService {

	@Autowired
	private AuthOrganizationMapper organizationMapper;

	/**
	 * 查询全部部门信息
	 * @return
	 */
	public List<AuthUser> queryAll(){
		return organizationMapper.queryAll();
	}

}
